<div id="header">
<!--header start-->
<a href="#" class="logo"><img src="<?php echo base_url(); ?>public/images/logoAdmin.png"></a>
<div id="header1">
<ul id="menu">



    <li><a href="<?php echo base_url()?>"><img src="<?php echo base_url(); ?>public/images/homepage.png" width="24px" height="24px"></a>
</li>
<?php
if(!($user))
{ $link=base_url().'index.php/theloai/login';
 
echo "<li><a href='$link'>ĐĂNG NHẬP</a></li>";


}
else
{   $link=base_url().'index.php/theloai/logout';
	echo "<li><a href='$link'>Logout</a></li>";
	}

?>

     <li><a href="#">Game</a>

<ul >

<li><a href="<?php echo base_url(); ?>index.php/theloai/manager">Quản lý thông tin </a></li>
<li><a href="<?php echo base_url(); ?>index.php/theloai/themmoi">Thêm mới </a></li>
</ul>
</li>
<li><a href="#">Change Pass</a>
<ul >
<li><a href="<?php echo base_url(); ?>index.php/theloai/changepass">Change Pass </a></li>
</ul>
</li>
  

 
 


</ul>

</div>
</div>